package com.nf.ch03.test05.homework;

/**
 * @author lwj
 * @date 2025-03-03
 * @vesion 1.0.0
 */
public class PaymentTest {
    public static void main(String[] args) {
        Consumer consumer = new Consumer("龚靖皓");


        WXPayment wxPayment = new WXPayment("微信支付",120d);
        ZFBPayment zfbPayment = new ZFBPayment("支付宝支付",40d);
        
        consumer.goShop(wxPayment);
        consumer.goShop(zfbPayment);
    }
}
